﻿using System.Windows;
using GalaSoft.MvvmLight.Threading;
using LiSAClient.Core.Properties;
using LiSAClient.WpfClient.Utils;

namespace LiSAClient.WpfClient
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App
    {
        [NotNull]
        private AppHandler appHandler;

        static App()
        {
            DispatcherHelper.Initialize();
        }

        /// <summary>
        ///     Initializes a new instance of the <see cref="App" /> class.
        /// </summary>
        public App()
        {
            this.Startup += OnStartup;
        }

        private void OnStartup(object sender, StartupEventArgs startupEventArgs)
        {
            this.appHandler = new AppHandler();
        }
    }
}